﻿using Little.Soldier.SWIFT;
using Little.Soldier.SWIFT.Definition;
using System.ComponentModel;

namespace Little.Soldier.SWIFT.Messages.Category7
{
  public class MT742 : SwiftMessage
  {
    private static SwiftMessageDefinition MessageDefinition;
    private static SwiftTagDefinition U0002;
    private static SwiftTagSubItemDefinition U0003;
    private static SwiftTagDefinition U0004;
    private static SwiftTagSubItemDefinition U0005;
    private static SwiftTagDefinition U0006;
    private static SwiftTagSubItemDefinition U0007;
    private static SwiftTagChoiceDefinition U0008;
    private static SwiftTagDefinition U000E;
    private static SwiftTagSubItemDefinition U000F;
    private static SwiftTagSubItemDefinition U0010;
    private static SwiftTagDefinition U0011;
    private static SwiftTagSubItemDefinition U0012;
    private static SwiftTagSubItemDefinition U0013;
    private static SwiftTagDefinition U0014;
    private static SwiftTagSubItemDefinition U0015;
    private static SwiftTagSubItemDefinition U0016;
    private static SwiftTagDefinition U0017;
    private static SwiftTagSubItemDefinition U0018;
    private static SwiftTagSubItemDefinition U0019;
    private static SwiftTagDefinition U001A;
    private static SwiftTagChoiceDefinition U001B;
    private static SwiftTagDefinition U001C;
    private static SwiftTagSubItemDefinition U001D;
    private static SwiftTagSubItemDefinition U001E;
    private static SwiftTagSubItemDefinition U001F;
    private static SwiftTagDefinition U007F;
    private static SwiftTagSubItemDefinition U0080;
    private static SwiftTagSubItemDefinition U0081;
    private static SwiftTagChoiceDefinition U0082;
    private static SwiftTagDefinition U0083;
    private static SwiftTagSubItemDefinition U0084;
    private static SwiftTagSubItemDefinition U0086;
    private static SwiftTagDefinition U0087;
    private static SwiftTagSubItemDefinition U0088;
    private static SwiftTagSubItemDefinition U0089;
    private static SwiftTagDefinition U008A;
    private static SwiftTagSubItemDefinition U008B;
    private static SwiftTagSubItemDefinition U008C;
    private static SwiftTagChoiceDefinition U008D;
    private static SwiftTagDefinition U008E;
    private static SwiftTagSubItemDefinition U008F;
    private static SwiftTagSubItemDefinition U0090;
    private static SwiftTagDefinition U0091;
    private static SwiftTagSubItemDefinition U0092;
    private static SwiftTagSubItemDefinition U0093;
    private static SwiftTagDefinition U0094;

    [Description("Claiming Bank’s Reference")]
    public Tag20 ClaimingBanksReference_20
    {
      get
      {
        return new Tag20((SwiftElement) this, 0, (SwiftDefinitionElement) MT742.U0002);
      }
    }

    [Description("Claiming Bank’s Reference")]
    public Tag20 Tag20_ClaimingBanksReference
    {
      get
      {
        return this.ClaimingBanksReference_20;
      }
    }

    [Description("Documentary Credit Number")]
    public Tag21 DocumentaryCreditNumber_21
    {
      get
      {
        return new Tag21((SwiftElement) this, 0, (SwiftDefinitionElement) MT742.U0004);
      }
    }

    [Description("Documentary Credit Number")]
    public Tag21 Tag21_DocumentaryCreditNumber
    {
      get
      {
        return this.DocumentaryCreditNumber_21;
      }
    }

    [Description("Date of Issue")]
    public Tag31C DateOfIssue_31C
    {
      get
      {
        return new Tag31C((SwiftElement) this, 0, (SwiftDefinitionElement) MT742.U0006);
      }
    }

    [Description("Date of Issue")]
    public Tag31C Tag31C_DateOfIssue
    {
      get
      {
        return this.DateOfIssue_31C;
      }
    }

    [Description("Issuing Bank")]
    public Tag52A IssuingBank_52A
    {
      get
      {
        return new Tag52A((SwiftElement) this, 0, (SwiftDefinitionElement) MT742.U000E);
      }
    }

    [Description("Issuing Bank")]
    public Tag52A Tag52A_IssuingBank
    {
      get
      {
        return this.IssuingBank_52A;
      }
    }

    [Description("Issuing Bank")]
    public Tag52D IssuingBank_52D
    {
      get
      {
        return new Tag52D((SwiftElement) this, 0, (SwiftDefinitionElement) MT742.U0011);
      }
    }

    [Description("Issuing Bank")]
    public Tag52D Tag52D_IssuingBank
    {
      get
      {
        return this.IssuingBank_52D;
      }
    }

    [Description("Principal Amount Claimed")]
    public Tag32B PrincipalAmountClaimed_32B
    {
      get
      {
        return new Tag32B((SwiftElement) this, 0, (SwiftDefinitionElement) MT742.U0014);
      }
    }

    [Description("Principal Amount Claimed")]
    public Tag32B Tag32B_PrincipalAmountClaimed
    {
      get
      {
        return this.PrincipalAmountClaimed_32B;
      }
    }

    [Description("Additional Amount Claimed")]
    public Tag33B AdditionalAmountClaimed_33B
    {
      get
      {
        return new Tag33B((SwiftElement) this, 0, (SwiftDefinitionElement) MT742.U0017);
      }
    }

    [Description("Additional Amount Claimed")]
    public Tag33B Tag33B_AdditionalAmountClaimed
    {
      get
      {
        return this.AdditionalAmountClaimed_33B;
      }
    }

    [Description("Charges")]
    public Tag71B Charges_71B
    {
      get
      {
        return new Tag71B((SwiftElement) this, 0, (SwiftDefinitionElement) MT742.U001A);
      }
    }

    [Description("Charges")]
    public Tag71B Tag71B_Charges
    {
      get
      {
        return this.Charges_71B;
      }
    }

    [Description("Total Amount Claimed")]
    public Tag34A TotalAmountClaimed_34A
    {
      get
      {
        return new Tag34A((SwiftElement) this, 0, (SwiftDefinitionElement) MT742.U001C);
      }
    }

    [Description("Total Amount Claimed")]
    public Tag34A Tag34A_TotalAmountClaimed
    {
      get
      {
        return this.TotalAmountClaimed_34A;
      }
    }

    [Description("Total Amount Claimed")]
    public Tag34B TotalAmountClaimed_34B
    {
      get
      {
        return new Tag34B((SwiftElement) this, 0, (SwiftDefinitionElement) MT742.U007F);
      }
    }

    [Description("Total Amount Claimed")]
    public Tag34B Tag34B_TotalAmountClaimed
    {
      get
      {
        return this.TotalAmountClaimed_34B;
      }
    }

    [Description("Account With Bank")]
    public Tag57A AccountWithBank_57A
    {
      get
      {
        return new Tag57A((SwiftElement) this, 0, (SwiftDefinitionElement) MT742.U0083);
      }
    }

    [Description("Account With Bank")]
    public Tag57A Tag57A_AccountWithBank
    {
      get
      {
        return this.AccountWithBank_57A;
      }
    }

    [Description("Account With Bank")]
    public Tag57B AccountWithBank_57B
    {
      get
      {
        return new Tag57B((SwiftElement) this, 0, (SwiftDefinitionElement) MT742.U0087);
      }
    }

    [Description("Account With Bank")]
    public Tag57B Tag57B_AccountWithBank
    {
      get
      {
        return this.AccountWithBank_57B;
      }
    }

    [Description("Account With Bank")]
    public Tag57D AccountWithBank_57D
    {
      get
      {
        return new Tag57D((SwiftElement) this, 0, (SwiftDefinitionElement) MT742.U008A);
      }
    }

    [Description("Account With Bank")]
    public Tag57D Tag57D_AccountWithBank
    {
      get
      {
        return this.AccountWithBank_57D;
      }
    }

    [Description("Beneficiary Bank")]
    public Tag58A BeneficiaryBank_58A
    {
      get
      {
        return new Tag58A((SwiftElement) this, 0, (SwiftDefinitionElement) MT742.U008E);
      }
    }

    [Description("Beneficiary Bank")]
    public Tag58A Tag58A_BeneficiaryBank
    {
      get
      {
        return this.BeneficiaryBank_58A;
      }
    }

    [Description("Beneficiary Bank")]
    public Tag58D BeneficiaryBank_58D
    {
      get
      {
        return new Tag58D((SwiftElement) this, 0, (SwiftDefinitionElement) MT742.U0091);
      }
    }

    [Description("Beneficiary Bank")]
    public Tag58D Tag58D_BeneficiaryBank
    {
      get
      {
        return this.BeneficiaryBank_58D;
      }
    }

    [Description("Sender To Receiver Information")]
    public Tag72 SenderToReceiverInformation_72
    {
      get
      {
        return new Tag72((SwiftElement) this, 0, (SwiftDefinitionElement) MT742.U0094);
      }
    }

    [Description("Sender To Receiver Information")]
    public Tag72 Tag72_SenderToReceiverInformation
    {
      get
      {
        return this.SenderToReceiverInformation_72;
      }
    }

    public MT742()
      : base(true)
    {
    }

    public MT742(SwiftMessage message)
      : base(message)
    {
    }

    internal override SwiftMessageDefinition MsgDefinition()
    {
      return MT742.MessageDefinition;
    }

    protected override void InitSwiftMessageDefinition()
    {
      MT742.MessageDefinition = new SwiftMessageDefinition("MT742", "Reimbursement Claim");
      MT742.U0002 = new SwiftTagDefinition("ClaimingBanksReference_20", "Claiming Bank’s Reference");
      MT742.U0002.TagName = ":20:";
      MT742.U0003 = new SwiftTagSubItemDefinition("Reference", "Claiming Bank’s Reference");
      MT742.U0002.Elements.Add((SwiftDefinitionElement) MT742.U0003);
      MT742.MessageDefinition.Elements.Add((SwiftDefinitionElement) MT742.U0002);
      MT742.U0004 = new SwiftTagDefinition("DocumentaryCreditNumber_21", "Documentary Credit Number");
      MT742.U0004.TagName = ":21:";
      MT742.U0005 = new SwiftTagSubItemDefinition("Reference", "Reference");
      MT742.U0004.Elements.Add((SwiftDefinitionElement) MT742.U0005);
      MT742.MessageDefinition.Elements.Add((SwiftDefinitionElement) MT742.U0004);
      MT742.U0006 = new SwiftTagDefinition("DateOfIssue_31C", "Date of Issue");
      MT742.U0006.TagName = ":31C:";
      MT742.U0006.Mandatory = false;
      MT742.U0007 = new SwiftTagSubItemDefinition("Date", "Date");
      MT742.U0006.Elements.Add((SwiftDefinitionElement) MT742.U0007);
      MT742.MessageDefinition.Elements.Add((SwiftDefinitionElement) MT742.U0006);
      MT742.U0008 = new SwiftTagChoiceDefinition("Choice", "");
      MT742.U0008.Multiple = true;
      MT742.U000E = new SwiftTagDefinition("IssuingBank_52A", "Issuing Bank");
      MT742.U000E.TagName = ":52A:";
      MT742.U000F = new SwiftTagSubItemDefinition("PartyIdentifier", "Party Identifier");
      MT742.U000F.Mandatory = false;
      MT742.U000E.Elements.Add((SwiftDefinitionElement) MT742.U000F);
      MT742.U0010 = new SwiftTagSubItemDefinition("BankIdentifierCode", "Bank Identifier Code");
      MT742.U000E.Elements.Add((SwiftDefinitionElement) MT742.U0010);
      MT742.U0008.Elements.Add((SwiftDefinitionElement) MT742.U000E);
      MT742.U0011 = new SwiftTagDefinition("IssuingBank_52D", "Issuing Bank");
      MT742.U0011.TagName = ":52D:";
      MT742.U0012 = new SwiftTagSubItemDefinition("PartyIdentifier", "Party Identifier");
      MT742.U0012.Mandatory = false;
      MT742.U0011.Elements.Add((SwiftDefinitionElement) MT742.U0012);
      MT742.U0013 = new SwiftTagSubItemDefinition("NameAndAddress", "Name And Address");
      MT742.U0011.Elements.Add((SwiftDefinitionElement) MT742.U0013);
      MT742.U0008.Elements.Add((SwiftDefinitionElement) MT742.U0011);
      MT742.MessageDefinition.Elements.Add((SwiftDefinitionElement) MT742.U0008);
      MT742.U0014 = new SwiftTagDefinition("PrincipalAmountClaimed_32B", "Principal Amount Claimed");
      MT742.U0014.TagName = ":32B:";
      MT742.U0015 = new SwiftTagSubItemDefinition("Currency", "Currency");
      MT742.U0014.Elements.Add((SwiftDefinitionElement) MT742.U0015);
      MT742.U0016 = new SwiftTagSubItemDefinition("Amount", "Amount");
      MT742.U0014.Elements.Add((SwiftDefinitionElement) MT742.U0016);
      MT742.MessageDefinition.Elements.Add((SwiftDefinitionElement) MT742.U0014);
      MT742.U0017 = new SwiftTagDefinition("AdditionalAmountClaimed_33B", "Additional Amount Claimed");
      MT742.U0017.TagName = ":33B:";
      MT742.U0017.Mandatory = false;
      MT742.U0018 = new SwiftTagSubItemDefinition("Currency", "Currency");
      MT742.U0017.Elements.Add((SwiftDefinitionElement) MT742.U0018);
      MT742.U0019 = new SwiftTagSubItemDefinition("Amount", "Amount");
      MT742.U0017.Elements.Add((SwiftDefinitionElement) MT742.U0019);
      MT742.MessageDefinition.Elements.Add((SwiftDefinitionElement) MT742.U0017);
      MT742.U001A = new SwiftTagDefinition("Charges_71B", "Charges");
      MT742.U001A.TagName = ":71B:";
      MT742.U001A.Mandatory = false;
      MT742.MessageDefinition.Elements.Add((SwiftDefinitionElement) MT742.U001A);
      MT742.U001B = new SwiftTagChoiceDefinition("Choice", "");
      MT742.U001B.Multiple = true;
      MT742.U001C = new SwiftTagDefinition("TotalAmountClaimed_34A", "Total Amount Claimed");
      MT742.U001C.TagName = ":34A:";
      MT742.U001D = new SwiftTagSubItemDefinition("Date", "Date");
      MT742.U001C.Elements.Add((SwiftDefinitionElement) MT742.U001D);
      MT742.U001E = new SwiftTagSubItemDefinition("Currency", "Currency");
      MT742.U001C.Elements.Add((SwiftDefinitionElement) MT742.U001E);
      MT742.U001F = new SwiftTagSubItemDefinition("Amount", "Amount");
      MT742.U001C.Elements.Add((SwiftDefinitionElement) MT742.U001F);
      MT742.U001B.Elements.Add((SwiftDefinitionElement) MT742.U001C);
      MT742.U007F = new SwiftTagDefinition("TotalAmountClaimed_34B", "Total Amount Claimed");
      MT742.U007F.TagName = ":34B:";
      MT742.U0080 = new SwiftTagSubItemDefinition("Currency", "Currency");
      MT742.U007F.Elements.Add((SwiftDefinitionElement) MT742.U0080);
      MT742.U0081 = new SwiftTagSubItemDefinition("Amount", "Amount");
      MT742.U007F.Elements.Add((SwiftDefinitionElement) MT742.U0081);
      MT742.U001B.Elements.Add((SwiftDefinitionElement) MT742.U007F);
      MT742.MessageDefinition.Elements.Add((SwiftDefinitionElement) MT742.U001B);
      MT742.U0082 = new SwiftTagChoiceDefinition("Choice", "");
      MT742.U0082.Mandatory = false;
      MT742.U0082.Multiple = true;
      MT742.U0083 = new SwiftTagDefinition("AccountWithBank_57A", "Account With Bank");
      MT742.U0083.TagName = ":57A:";
      MT742.U0084 = new SwiftTagSubItemDefinition("PartyIdentifier", "Party Identifier");
      MT742.U0084.Mandatory = false;
      MT742.U0083.Elements.Add((SwiftDefinitionElement) MT742.U0084);
      MT742.U0086 = new SwiftTagSubItemDefinition("BankIdentifierCode", "Bank Identifier Code");
      MT742.U0083.Elements.Add((SwiftDefinitionElement) MT742.U0086);
      MT742.U0082.Elements.Add((SwiftDefinitionElement) MT742.U0083);
      MT742.U0087 = new SwiftTagDefinition("AccountWithBank_57B", "Account With Bank");
      MT742.U0087.TagName = ":57B:";
      MT742.U0088 = new SwiftTagSubItemDefinition("PartyIdentifier", "Party Identifier");
      MT742.U0088.Mandatory = false;
      MT742.U0087.Elements.Add((SwiftDefinitionElement) MT742.U0088);
      MT742.U0089 = new SwiftTagSubItemDefinition("Location", "Location");
      MT742.U0089.Mandatory = false;
      MT742.U0087.Elements.Add((SwiftDefinitionElement) MT742.U0089);
      MT742.U0082.Elements.Add((SwiftDefinitionElement) MT742.U0087);
      MT742.U008A = new SwiftTagDefinition("AccountWithBank_57D", "Account With Bank");
      MT742.U008A.TagName = ":57D:";
      MT742.U008B = new SwiftTagSubItemDefinition("PartyIdentifier", "Party Identifier");
      MT742.U008B.Mandatory = false;
      MT742.U008A.Elements.Add((SwiftDefinitionElement) MT742.U008B);
      MT742.U008C = new SwiftTagSubItemDefinition("NameAndAddress", "Name And Address");
      MT742.U008A.Elements.Add((SwiftDefinitionElement) MT742.U008C);
      MT742.U0082.Elements.Add((SwiftDefinitionElement) MT742.U008A);
      MT742.MessageDefinition.Elements.Add((SwiftDefinitionElement) MT742.U0082);
      MT742.U008D = new SwiftTagChoiceDefinition("Choice", "");
      MT742.U008D.Mandatory = false;
      MT742.U008D.Multiple = true;
      MT742.U008E = new SwiftTagDefinition("BeneficiaryBank_58A", "Beneficiary Bank");
      MT742.U008E.TagName = ":58A:";
      MT742.U008F = new SwiftTagSubItemDefinition("PartyIdentifier", "Party Identifier");
      MT742.U008F.Mandatory = false;
      MT742.U008E.Elements.Add((SwiftDefinitionElement) MT742.U008F);
      MT742.U0090 = new SwiftTagSubItemDefinition("BankIdentifierCode", "Bank Identifier Code");
      MT742.U008E.Elements.Add((SwiftDefinitionElement) MT742.U0090);
      MT742.U008D.Elements.Add((SwiftDefinitionElement) MT742.U008E);
      MT742.U0091 = new SwiftTagDefinition("BeneficiaryBank_58D", "Beneficiary Bank");
      MT742.U0091.TagName = ":58D:";
      MT742.U0092 = new SwiftTagSubItemDefinition("PartyIdentifier", "Party Identifier");
      MT742.U0092.Mandatory = false;
      MT742.U0091.Elements.Add((SwiftDefinitionElement) MT742.U0092);
      MT742.U0093 = new SwiftTagSubItemDefinition("NameAndAddress", "Name And Address");
      MT742.U0091.Elements.Add((SwiftDefinitionElement) MT742.U0093);
      MT742.U008D.Elements.Add((SwiftDefinitionElement) MT742.U0091);
      MT742.MessageDefinition.Elements.Add((SwiftDefinitionElement) MT742.U008D);
      MT742.U0094 = new SwiftTagDefinition("SenderToReceiverInformation_72", "Sender To Receiver Information");
      MT742.U0094.TagName = ":72:";
      MT742.U0094.Mandatory = false;
      MT742.MessageDefinition.Elements.Add((SwiftDefinitionElement) MT742.U0094);
    }
  }
}
